package com.example.zxslzw2014_8_11;


import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@Slf4j
@RequestMapping("/logger")
@RestController
public class LoggerController {

    @RequestMapping("/level")
    public String log() {
        log.info("打印日志");
        return "success";
    }
}